AI 处理故障,工程师对系统感到陌生。
AI handles incidents, engineers lose touch with their systems

原始链接: https://www.sylvainkalache.com/blog/ai-handles-incidents-engineers-lose-touch-with-their-systems

虽然人工智能驱动的事件响应工具(“AI SRE”)通过处理常规问题带来了显著的效率提升,但它们也制造了一个危险的悖论:通过自动化工作,这些工具剥夺了工程师掌握系统所必需的日常实践机会。作者借鉴莉珊·班布里奇(Lisanne Bainbridge)的《自动化的讽刺》(*Ironies of Automation*),警告称这种缺乏实践经验的状态,会导致响应者在面对人工智能无法解决的罕见、复杂且高严重性的事件时束手无策。 为了防止“理解力负债”,工程团队必须借鉴航空业的解决方案:严格且强制性的模拟训练。仅观察人工智能或进行被动式教学是不够的;响应者必须在逼真的模拟环境中主动练习故障排查、高压沟通和决策制定。随着人工智能日益接管日常工作,通过混沌工程、桌面演练和实操模拟进行的刻意练习变得至关重要。作者总结道,我们越依赖自动化来获得成功,就越必须优先培养人类在自动化不可避免地失效时进行应对的能力。

这篇 Hacker News 的讨论探讨了人们日益增长的担忧:人工智能驱动的自动化正在导致工程师逐渐丧失对所构建和维护系统的深刻理解。 参与者认为,过度依赖人工智能工具会产生一种“自我膨胀”的反馈循环,即工程师在故障排查时变得依赖模型,从而导致自身技术直觉和解决问题能力的退化。几位评论者将其与“自动化的讽刺”(The Ironies of Automation)相提并论,指出当人工智能接管日常任务时,人类因缺乏通过手动工作所获得的深层思维模型,而在系统故障时难以进行干预。 对此,人们的观点存在分歧:一些人担心这会造成巨大的技术债务和“人工智能精神错乱”,即工程师感到与自己编写的代码库脱节;另一些人则认为,人工智能只是一种必要的新抽象(类似于编译器),业务成果比手动流程更重要。最终,共识倾向于认为,尽管人工智能提高了生产力,但它也带来了“控制权转移不平稳”的风险,即人类可能丧失了脱离工具辅助进行故障诊断的能力,这可能导致组织在人工智能失效时陷入脆弱境地。
相关文章

原文

When I was an SRE at LinkedIn, back in 2012, I designed a system that could heal itself and learn from previous incidents. AI capabilities were nowhere near what we have today, and that remained a prototype, but this is now a reality.

These tools do it all: inspect alerts, form hypotheses, query telemetry, correlate recent deployments, and even implement the fix themselves. As much as I love to see it, I have a major concern: we are losing touch with our systems.

The better these tools become at resolving routine incidents, the less practice human responders will get. And when an ambiguous, high-severity incident comes in that automation cannot solve, responding engineers will be in trouble.

These AI-assisted incident response tools, more commonly called “AI SREs” – a term I don’t particularly like – are fantastic in many ways. They feel especially magical when they handle a routine incident at night and you don’t have to wake up for a capacity issue.

The problem is that routine incidents are also how responders “safely” develop an intuition for how their systems behave and fail. When AI runs into a hard, never-seen-before incident it cannot solve, engineers will have to take over with less practice than they would have had before.

Human-factors researcher Lisanne Bainbridge described this paradox in her famous 1983 paper, The Ironies of Automation. She explained that automation reduces operators’ opportunities to practice routine work while leaving them responsible for new and abnormal situations. She argues that, therefore, operators need to be more skilled and receive even more training than before automation.

In the years to come, I predict that the average MTTR for most incidents will go down – thanks to AI-assisted incident response – but that the resolution time will shoot up for complex incidents because incident responders lost touch with their system and are struggling to investigate.

We can look at the aviation industry for inspiration.

Plane automation handles much of the flying, but pilots remain responsible for situations that automation cannot manage: engine failures, unreliable instruments, rejected takeoffs, stalls, and other abnormal conditions.

These events are extremely rare. Modern turbine engines, for example, experience fewer than one in-flight shutdown per 100,000 engine flight hours. In other words, that is rare enough that a commercial pilot may complete an entire career without experiencing one outside a simulator.

But when a failure occurs, pilots must react quickly and correctly. For example, on TransAsia Airways Flight 235, the right engine’s propeller autofeathered shortly after takeoff. And while the aircraft was designed to continue flying on its left engine, the crew misidentified the problem. The aircraft stalled and crashed only 117 seconds after the first warning.

Airline pilots regularly return to simulators to rehearse rare emergencies. Under US FAA rules, captains must complete recurrent training or a proficiency check every six months, including scenarios such as an engine failure during takeoff.

While most software incidents do not threaten lives, that is no reason not to perfect our craft. Turns out the technology that created the issue can also help close it.

At Rootly, where I work, we partnered with Uptime Labs to apply this idea through realistic incident simulations. Engineers take the incident commander’s seat during a simulated e-commerce outage, using observability tools while coordinating with LLM-powered stakeholders in Slack.

The result feels real. You have to investigate what’s going wrong while keeping the response organized and dealing with the CEO and customer support. You get to practice the skills that matter during an incident: making sense of incomplete information, communicating clearly, coordinating people, and actually running the response.

But what about using AI as a trainer? Responders can ask an agent to explain the steps it took, the signals it examined, and the evidence behind its diagnosis.

But explanation and observation are not substitutes for practice. You might pick up a few things from watching Serena Williams play, but you only learn tennis by getting on the court, and incident response is no different.

I spent more than half a decade of my career building a software engineering school around progressive education: learning by doing. It was in-person, but we had no teachers; students worked on projects instead of listening to lectures. When Dropbox told me graduates it hired were still too inexperienced at troubleshooting, I created projects that gave students broken infrastructure and required them to diagnose and repair it. For most hands-on skills, I believe hands-on education beats passive instruction by a lot.

As LLMs do more of our work, engineering teams risk accumulating comprehension debt: a growing gap between how their systems work and how well responders understand them.

Engineers should regularly interact with the system they watch over, handle unfamiliar failures, practice working under pressure, and rehearse the coordination and communication required during a SEV0. Tabletop exercises and chaos engineering are nothing new, but practice has become even more important in the LLM era.

Researcher Bainbridge recommended giving operators regular hands-on control and using simulation to prevent their skills from decaying. That’s the irony of automation, the more successful it becomes, the less prepared humans may be for the moment it fails.

联系我们 contact @ memedata.com