The world’s largest tech conference has apparently learned a big lesson about gender equity.

CES, the huge annual consumer electronics show in Las Vegas, caught major flak from activists in late 2017 when it unveiled an all-male lineup of keynote speakers for the second year in a row. Although it later added two female keynoters, the gathering’s “boys’ club” reputation remained intact. It didn’t help that one of the unsanctioned events latching on to CES last year was a nightclub featuring female “robot strippers.”

This year, four of the nine current keynoters are women. GenderAvenger, the activist group that raised a ruckus last year, recently sent CES organizers a congratulatory letter and awarded the show a “Gold Stamp of Approval” for a roster of keynote and “featured” speakers that it says is 45 percent women — with 60 percent of them women of color.

It’s a significant change for CES, which like most tech conferences remains disproportionately male, just like the industry it serves. Even absent the robot dogs, sci-fi worthy gadgets and “booth babes” CES has been known for, you could readily peg it as a technology show from the bathroom lines alone — where men wait uncomfortably while women waltz right in.

The four-day CES show opens Tuesday, though media previews begin Sunday. Keynoters this year include IBM CEO Ginni Rometty; Lisa Su, CEO of chipmaker Advanced Micro Devices; and U.S. Transportation Security Elaine Chao. The entire featured speaker list is currently half female, although the exact percentage won’t be known until after the event. “There is no question we keep trying to do better,” said Gary Shapiro, CEO of the Consumer Technology Association, which organizes CES.

“Diversity is about having people who see things differently — frankly, disagree with you and tell you that you are stupid,” said Tania Yuki, CEO of social media analytics company Shareablee and an attendee of CES for several years. The big question, she says, is whether CES has really listened to its critics.

MBA BY THE BAY: See how an MBA could change your life with SFGATE's interactive directory of Bay Area programs.

CES is the place to be for tech companies and startups to show off their latest gadgets and features. More than 180,000 people are expected to attend this year, and some 4,500 companies will be on the convention floor.

But really leveling the playing field often means more than inviting female CEOs to speak. For starters, women and people of color are underrepresented in the tech industry, especially in leadership and technical roles. So, conference organizers might need to look harder, or be more flexible in who they invite to speak.

Barbara Ortutay is an Associated Press writer.