About John Patrick

This author has not yet filled in any details.
So far John Patrick has created 367 blog entries.

AlphaZero Improves Sorting/Hashing

Maybe this is the first example of, well, AI offsetting some of the emissions costs of generative AI.  From venturebeat.com:

“Google’s artificial intelligence (AI) research lab DeepMind has achieved a remarkable feat in computer science through its latest AI system, AlphaDev. This specialized version of AlphaZero has made a significant breakthrough by uncovering faster sorting and hashing algorithms, which are essential processes utilized trillions of times daily by developers worldwide for data sorting, storage and retrieval…In a paper published in the science journal Nature, DeepMind asserts that AlphaDev’s newly discovered algorithm achieves a 70% increase in efficiency for sorting short sequences of elements and approximately 1.7% for sequences surpassing 250,000 elements, as compared to the algorithms in the C++ library. Consequently, when a user submits a search query, AlphaDev’s algorithm facilitates faster sorting of results, leading to significant time and energy savings when employed on a large scale.”

Wait, I can’t forget DeepMind’s leap in solving protein structures

2023-06-08T19:56:06-05:00June 8th, 2023|Home, Musings|

Why All the Subtitles?

• Devin Gordon writes on the rising use of subtitles in his article in The Atlantic – “Why Is Everyone Watching TV With The Subtitles On?” It’s not just the hearing impaired; the group using subtitles the most on Roku are millennials.  There are multiple reasons for doing it, some technical artifacts of streaming compression.  A quick, fun read.

2023-06-07T18:34:29-05:00June 7th, 2023|HomeRecommended|

Some Good News – Really

• Sometimes we lose sight of the fact that there has definitely been significant human progress in many parts of the world – dramatic drops in infant mortality, neonatal and obstetric deaths, cancer mortality, and poverty.  Nicholas Kristof writes about this in his “This May Be the Most Important Thing Happening in the World Today” opinion piece in the NY Times.  Some excerpts:

“We happen to live in a transformational era in which 96 percent of the world’s children now survive until adulthood…

…But one reason the world doesn’t do more to help poor countries is exhaustion, a sense that nothing works. I fear that misperception is driven partly by journalists like me, and by aid workers, advocates and other bleeding hearts.

We pounce upon crises, so what the public hears about in Africa is carnage in Sudan, hunger in Somalia and massacres in Ethiopia. Those are real problems that deserve more attention, not less — but we don’t do enough to illuminate the backdrop of gains in health, education and well-being.

Many people believe that global poverty is hopeless — 87 percent said in a 2016 survey that poverty had stayed the same or gotten worse over the previous two decades — while in fact the share of the world’s people living in extreme poverty has plunged from 38 percent in 1990 to about 8 percent now.”

2023-06-04T13:46:54-05:00June 4th, 2023|HomeRecommended|

David French on DJT’s clenched fist supporters

• David French writes in the NY Times that watching Fox can quite alarmingly demonstrate the intractable hold DJT has on his segment of the electorate. An excerpt:

“When I look back on the Trump years, I see a dark time of division, corruption and social decay. After all, when he left office, the murder rate was higher, drug overdose deaths had increased, and the abortion rate had gone up for the first time in decades. America was more bitterly divided, and deficits increased each year of his presidency. His early Covid lies helped fuel an immense amount of confusion and almost certainly cost American lives. And his entire sorry term was capped by a violent insurrection fueled by an avalanche of lies.

If you watched the town hall, however, you entered an entirely different world. According to Trump’s narrative, everything he did was good. His term was a time of economic prosperity, energy independence, fiscal responsibility, a rejuvenated military, a locked-down border and fear and respect from foreign regimes. The only thing that marred his four years was a stolen election and his unjust persecution by the corrupt Democratic Party and its allies in the F.B.I. In Trumpworld, the Trump past is golden, and the Trump future bright, but the present is a time of misery and darkness.”

Be afraid…

2023-06-04T13:28:39-05:00June 2nd, 2023|HomeRecommended|

Chat GPT vs Real Docs

• Interesting results from at attempt to rate physician generated versus Chat GPT generated responses to patient questions posed on Reddit’s r/AskDocs:

Ayers JW, Poliak A, Dredze M, et al. Comparing Physician and Artificial Intelligence Chatbot Responses to Patient Questions Posted to a Public Social Media Forum. JAMA Intern Med. Published online April 28, 2023. doi:10.1001/jamainternmed.2023.1838

“Results  Of the 195 questions and responses, evaluators preferred chatbot responses to physician responses in 78.6% (95% CI, 75.0%-81.8%) of the 585 evaluations. Mean (IQR) physician responses were significantly shorter than chatbot responses (52 [17-62] words vs 211 [168-245] words; t = 25.4; P < .001). Chatbot responses were rated of significantly higher quality than physician responses (t = 13.3; P < .001). The proportion of responses rated as good or very good quality (≥ 4), for instance, was higher for chatbot than physicians (chatbot: 78.5%, 95% CI, 72.3%-84.1%; physicians: 22.1%, 95% CI, 16.4%-28.2%;). This amounted to 3.6 times higher prevalence of good or very goodquality responses for the chatbot. Chatbot responses were also rated significantly more empathetic than physician responses (t = 18.9; P < .001). The proportion of responses rated empathetic or very empathetic (≥4) was higher for chatbot than for physicians (physicians: 4.6%, 95% CI, 2.1%-7.7%; chatbot: 45.1%, 95% CI, 38.5%-51.8%; physicians: 4.6%, 95% CI, 2.1%-7.7%). This amounted to 9.8 times higher prevalence of empatheticor very empathetic responses for the chatbot.

Conclusions  In this cross-sectional study, a chatbot generated quality and empathetic responses to patient questions posed in an online forum. Further exploration of this technology is warranted in clinical settings, such as using chatbot to draft responses that physicians could then edit. Randomized trials could assess further if using AI assistants might improve responses, lower clinician burnout, and improve patient outcomes.”

The article itself has 5 sample questions with physician and Chatbot responses.  I’d agree that the Chatbot’s were better, both in content and tone.  Given the current possibility of hallucination, output should of course be reviewed before real clinical use, but boy, there will be pressure to use this…
2023-05-12T16:54:49-05:00May 12th, 2023|HomeRecommended|

A Supreme Problem

Jamelle Bouie, writing in the Times, once again discusses the significant problems with the Supreme Court, both at present and for the foreseeable future:

“The problem of the Supreme Court isn’t that its members are mired in ethics scandals (although they are). It isn’t that it’s been captured by a network of conservative apparatchiks and right-wing billionaires (although it has). No, the problem of the Supreme Court is that it is a powerful and unaccountable branch of government whose traditional role has been to protect the rights of property and the prerogatives of the privileged above all other concerns.”

I’m afraid he’s right.

2023-05-12T16:55:52-05:00May 12th, 2023|Home, Musings|

Ethics in the workplace

As a physician, the Physician Payments Sunshine Act meant that any pharmaceutical or durable medical goods company giving me more than $25 had to report the gift to the Centers for Medicare and Medicaid Services; this reporting is publicly available here.  Since 2009, Massachusetts has required such companies to report any gifts in excess of $50.  105 CMR 970.00 prohibits gifting of entertainment or recreational items of any value, such as tickets to a sporting event or concert, or vacation trip and payments of any kind, except as compensation for bona fide services, etc.  As part of my academic appointment at Harvard Medical School, I had to annually disclose outside institution positions and appointments, resources and funding, outside activities, etc.  As a physician administrator, I did not allow Pharmaceutical Representatives to provide samples due to the well documented undue influence on physician prescribing patterns. Yet the Supreme Court, with much greater power and influence, the ultimate arbiter of justice here in the U.S., can’t see fit to self regulate behaviors that undoubtedly influence their behavior?  What’s wrong with this picture?  Since the supremes can’t seem to regulate themselves, they should be regulated by law.  See this NYT editorial.

2023-04-14T14:58:00-05:00April 14th, 2023|Home, Musings|
Go to Top