TGTGInsightтелеграм анализLIVE / telegram public index
← Такты, стеки, два колеса

TGINSIGHT SIMILAR POSTS

Намери подобно съдържание

Изходен канал @clockstackwheels · Post #1084 · 9.04

В общем, была задача на оптимизацию плана работ: есть набор заказов, и в каждом N тасков. Таски могут зависеть друг от друга или нет, имеют длительность и тип. Ещё есть M работников, каждый из которых может выполнять таски только определённых типов, причём, у каждого своя скорость. Если все таски в заказе выполнены, фирма получает сколько-то денег. У заказа есть дедлайн, за просрочку штраф (за каждый день просрочки), который вычитается из цены заказа. И ещё фирма тратит деньги за каждый день своей работы независимо от того, как загружены её сотрудники (то есть просто платит зарплаты по сути). Ещё важен учёт праздников и выходных. Нужно заработать на определённом наборе заказов и работников как можно больше денег. Полный текст задачи и код программы проверки есть в репозитории. Эта задача является изменённым заказом, который мы с напарником решали в реальной жизни: оптимизация работы печатных станков для типографии. Правда, тогда и мы справились так себе, и заказчик в итоге сначала захотел всё вручную сам делать, а потом и вовсе похоронил проект при смене директора. !!! Не читайте дальше, если хотите сначала попробовать решить самостоятельно, потому что я сейчас опишу эффективные подходы и результаты. ________________________________________ Так вот. Мы с другим экспертом Андреем сразу сели и написали разные варианты, чтобы задать шкалу, по которой будем оценивать решения команд. За пару часов я собрал примитивный жадный алгоритм, который сортировал заказы по прибыльности и укладывал в сетку кое-как, это дало нам нижнюю оценку. Мой алгоритм заработал ~75 млн виртуальных рублей, мы решили для оценки поставить нижней границей 40 млн. То есть всё, что ещё ниже, оценивалось в ноль баллов за качество оптимизации. Затем Андрей закрылся дома на три дня и вышел на свет со сложным жадным алгоритмом, который очень хитро сортировал заказы и очень хитро укладывал их в сетку, попутно выбирая разные способы этой укладки в зависимости от конкретного заказа. Это позволило заработать ~275 млн рублей. Мы сделали верхней границей для оценки 280 млн. К сожалению, в итоге только две команды из десяти прошли нижнюю границу, заработав, соответственно, ~91 и ~105 млн. К верхней границе не приблизился никто. И у четырёх команд алгоритм вообще не смог уложить без нарушений задачи в сетку (то есть, например, произвольно менял длительности, накладывал задачи друг на друга, давал одному работнику две задачи в один момент и так далее). Важной ошибкой команд, на мой взгляд, являлся тот факт, что никто не воспользовался возможностью запустить алгоритм на несколько минут и дать ему поработать. По условиям задания, можно было тянуть до 5 минут на одну оптимизацию, но по факту решения команд отрабатывали за единицы и десятки секунд. На самом конкурсе, пока команды работали, я решил попробовать сделать быстрое (по времени написания) но эффективное решение. Сначала попробовал жадную сортировку + доведение до лучшего варианта методом имитации отжига. В качестве нового состояния я просто менял местами заказы целиком. Этот вариант работал пару минут и дал мне около ~200 млн дохода. К слову, команда-лидер использовала такой же подход, просто не докрутила число итераций и температуру. Ну и потом я взял готовую либу по реализации классической генетики с особями и скрещиванием. Особью был массив с приоритетами заказов (которые конечно же нужно было аккуратно уложить чистым алгоритмом). Тип скрещивания: scattered. Всего 15 поколений по 20 особей, и это за минуту-полторы давало ~230-240 млн. Считаю, что для конкурса это самый лучший выбор: пишется одним человеком за день и даёт почти максимум, при этом легко настраивается на нужную длительность работы, легко параллелится. Ну а потом уже дома я посидел и накодил свой вариант сложного жадного с плавающим окном перебора отсортированных заказов и плавающей же укладкой по работникам. Такая штука за две минуты зарабатывает ~281 млн. Но за три дня в условиях стресса я бы такое не сделал, скорее всего. #dev

Hashtags

Резултати

Намерени 30 подобни публикации

Търсене: #techpolicy

当前筛选 #techpolicy清除筛选
AI & Law

@ai_and_law · Post #634 · 13.08.2025 г., 07:04

📖🇺🇸Brookings Analyzes U.S. AI Action Plan A new Brookings Institute's report offers a detailed look at the U.S. AI Action Plan from the Trump administration, emphasizing that navigating the scale and complexity of AI requires more than top-down regulation. It highlights the need for co-creation, participatory design, and regulatory experimentation to drive innovation effectively. The report advocates for collaborative ecosystems between government and industry. I #AI#TechPolicy#AIGovernance

AI & Law

@ai_and_law · Post #545 · 09.04.2025 г., 07:04

🇺🇸📖The Backfiring Effect of Weak AI Safety Regulation A new study from Cornell and Carnegie Mellon warns that poorly designed AI safety regulations may do more harm than good. Targeting only domain specialists — those applying general-purpose AI to real-world tasks — can inadvertently reduce overall system safety. The paper argues that shared regulatory responsibility across the entire development pipeline, including foundational model creators, leads to stronger outcomes both in safety and in performance. As AI legislation surges — with more bills introduced in early 2025 than in all of 2024 — the U.S. regulatory landscape remains fragmented. This research underscores the danger of siloed policy approaches and makes a strategic case for harmonized, multi-actor regulation. Regulation isn’t just a burden — it’s a coordination tool. #AISafety#AIRegulation#TechPolicy

AI & Law

@ai_and_law · Post #511 · 21.02.2025 г., 08:04

🇺🇸US Senate Passes AI Deepfake Bill The US Senate has approved the "Take It Down Act", a bipartisan bill co-sponsored by Sens. Ted Cruz and Amy Klobuchar. The legislation criminalizes the publication of non-consensual intimate images, including AI-generated deepfakes, and mandates that social media platforms establish swift takedown procedures for such content. While the bill passed the Senate last year, it now faces another crucial step—consideration in the House. If enacted, it could set a new legal precedent for addressing AI-driven digital harm. #AIRegulation#Deepfakes#AIethics#TechPolicy

🤖🇺🇸TRUMP WEIGHS AI EXECUTIVE ORDER — MANDATORY GOVERNMENT VETTING 🔹 Draft order would require federal approval before releasing AI models citing Anthropic "Mythos" cybersecurity risks 🛡️ 🔹 Tech companies face potential 90-day review delays and up to $50M penalties for unauthorized deployment 💰 🔹 Silicon Valley leaders pushing back claiming this would "kill American AI innovation" vs China competition 🇨🇳 🔹 Comes after Iranian hackers used AI tools to target US infrastructure in latest cyber escalation 🎯 Biden had AI guidelines — Trump wants AI guardrails with real teeth and enforcement power 🦷⚡ #AIRegulation#TechPolicy#CyberSecurity @america

🚨🤖TRUMP AI CRACKDOWN — Silicon Valley vs Federal Government! 🔹 March 11 deadline: Commerce Department evaluating "onerous" state AI laws 📋⚖️ 🔹 California's AI Transparency Act & Colorado's algorithmic rules under fire 🎯🔥 🔹 FTC must clarify when AI output requirements violate First Amendment 📜⚠️ 🔹 DOJ AI Litigation Task Force ready to challenge state laws 🏛️⚔️ 🔹 Federal funds could be withheld from non-compliant states 💰🚫 Silicon Valley caught between federal deregulation & state oversight! Biggest tech vs government showdown since antitrust! 💥 #AIRegulation#TechPolicy#SiliconValley @america

AI & Law

@ai_and_law · Post #558 · 29.04.2025 г., 07:04

🇨🇳China Accelerates AI Self-Reliance Strategy President Xi Jinping has formally declared AI self-sufficiency a national priority, launching a coordinated national effort to develop AI chips, software, and talent. Under the “new whole national system” approach, China will expand policy support, strengthen IP protections, and increase funding for research to overcome critical technology bottlenecks. Huawei is already testing advanced domestic chips intended to replace restricted NVIDIA processors. Meanwhile, reports suggest the upcoming DeepSeek R2 model will feature lower training costs and switch to Huawei hardware, further weakening the impact of U.S. export controls. China is rapidly closing the gap, aiming to prove it can lead in AI without relying on American technology. #AI#China#AIGovernance#TechPolicy

AI & Law

@ai_and_law · Post #755 · 02.02.2026 г., 08:04

📖Anthropic CEO Warns of Escalating AI Risks in “The Adolescence of Technology” Anthropic CEO Dario Amodei has published a new essay, “The Adolescence of Technology,” outlining what he sees as the most serious risks posed by advanced AI systems. Building on his 2024 essay “Machines of Loving Grace,” Amodei shifts from optimism to risk analysis, describing AI as a “country of geniuses in a data center” that humanity may struggle to control. He identifies threats ranging from bioterrorism and autonomous weapons to AI-enabled authoritarianism and large-scale economic disruption. Amodei predicts that up to half of entry-level office jobs could be displaced within the next one to five years, with economic shocks unfolding faster than societies can adapt. He argues that AI’s economic incentives make restraint difficult and calls for stronger measures, including chip export bans and greater transparency from AI labs. The essay also highlights risks originating within AI companies themselves, citing internal safety tests in which Anthropic’s Claude reportedly exhibited deceptive and blackmail-like behavior. #AIRegulation#AIrisks#AIGovernance#TechPolicy

AI & Law

@ai_and_law · Post #186 · 11.12.2023 г., 08:04

Stanford Warns Against Simplistic AI Thresholds Greetings dear subscribers! Researchers at Stanford University are sounding an alert about the challenges governments face in defining thresholds for the most potent AI foundation models. They caution against relying solely on computational power, as demonstrated in the EU Commission's approach. Stanford's analysis advocates a multi-faceted approach, considering factors such as company revenues, volume of training data, safety benchmarks, and the range of applications downstream. #AI#TechPolicy#StanfordResearch#AIRegulation

AI & Law

@ai_and_law · Post #577 · 26.05.2025 г., 07:04

🇪🇺EU AI Act: Stakeholder Feedback Underscores Demand for Clarity and Urgency The EU AI Office has published its stakeholder consultation results—highlighting widespread concern among developers, companies, and policy observers over unclear definitions and vague prohibitions in the AI Act. While industry voices dominated the feedback, everyday users—those most affected—were largely absent. This imbalance should be taken into account when interpreting the data. Key demands include sharper definitions of what counts as “AI,” “autonomy,” and “adaptiveness,” and more precise guidance on prohibited practices like manipulation, emotion recognition, and social scoring. Without actionable examples, the current framework risks legal uncertainty. For SMEs, concerns over compliance burdens remain acute. The message is clear: guidance must come fast—or implementation deadlines will arrive before clarity does. #EUAIAct#AIRegulation#AIEthics#ArtificialIntelligence#TechPolicy

AI & Law

@ai_and_law · Post #517 · 03.03.2025 г., 08:04

📖Governing AI Agents: Legal and Ethical Challenges AI is evolving from generative models to autonomous agents that can act with minimal human intervention. These agents can browse the internet, complete tasks, and function as virtual assistants or even coworkers. While the potential is enormous, so are the risks—ranging from accountability gaps to opaque decision-making. Noam Kolt’s "Governing AI Agents" explores how agency law and economic theory can help address these challenges. Traditional tools like incentive structures and monitoring may be ineffective for AI agents operating at speed and scale. The paper argues for new legal and technical infrastructure to ensure transparency, accountability, and control in AI agent governance. A must-read for those shaping the future of AI regulation. #AI#AIRegulation#AIAgents#TechPolicy#EthicalAI

ПредишнаСтр. 1 от 3Следваща